//
//  MPMenuHeaderView.m
//  MarkPlatform
//
//  Created by xiao6 on 2017/12/18.
//  Copyright © 2017年 AT. All rights reserved.
//

#import "MPMenuHeaderView.h"

@implementation MPMenuHeaderView
+ (instancetype)instanceView {
    MPMenuHeaderView *view = [super instanceView];
    [view sizeToFit];
    return view;
}
- (CGSize)intrinsicContentSize {
    return CGSizeMake(SCREEN_WIDTH, 180 + STATUS_BAR_BAR_ADDING);
}
- (CGSize)sizeThatFits:(CGSize)size {
    return [self intrinsicContentSize];
}
@end
